
/**
 * @file
 * CSS Stylesheet for the DrupalChat modules 'dark' theme.
 * 
 * Author: Fenda
 */

/* IE6 Hack */
*html #drupalchat {
  display: none;
}

#drupalchat-wrapper {
  bottom: 0;
  height: 29px;
  margin: 0 4%;
  position: fixed;
  right: 0;
  z-index: 9999; /*--Keeps the panel on top of all other elements--*/
}
#drupalchat {
  background: #333333;
  border: 1px solid #1D1D1D;
  border-bottom: none;
  float: left;
	font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
}
#drupalchat ul {
  border-top: 1px solid #505050; /*--Gives the bevel feel on the panel--*/
  float: right;
  list-style: none;
  margin: 0;
  padding: 0; 
  width: 100%;
}
#drupalchat ul li {
  background: none;	
  float: left;
  margin: 0;
  padding: 0;
  position: relative;
}
#drupalchat ul li.last a {
  border-right: none;
}

#drupalchat ul li a {
  border-left: 1px solid #505050;
  border-right: 1px solid #1D1D1D;  
  color: #fff;
  float: left;
  height: 16px;
	line-height: 16px;
	padding: 6px;
  position: relative;
  text-decoration: none;
  width: auto;
}
#drupalchat ul li a:hover {
  background-color: #4C4C4C;
}
#drupalchat ul li a.active { /*--Active state when sub-panel is open--*/
  background: #4C4C4C url(images/subpanel_bar.png) no-repeat center 1px;
  border-top: none; 
  height: 18px;
  margin-top: -2px; /*--Push it up 2px to attach the active button to sub-panel--*/
  position: relative;
  z-index: 200; /*--Keeps the active link on top of the sub-panel--*/
}

#drupalchat ul li a.active span.subpanel_title_text {
	float: left;
	margin-top: 2px;
}

#drupalchat img.icon {
	float: left;
	margin-right: 6px;
	padding: 0;
}

#drupalchat ul li a.chat {
	width: 147px;
}
#drupalchat ul li a.chatboxhead {
	width: 132px;
}

#drupalchat ul li div a { /*--Reset link style for sub-panel links--*/
  color: #fff;
  float: none;
  height: auto;
  padding: 0;
  position: static;
  width: auto;
}
#drupalchat ul li div a:hover {
  text-decoration: underline;
} 
#drupalchat .subpanel {
  border: 1px solid #1d1d1d;  
  bottom: 29px;
  display: none;  /*--Hide by default--*/
  left: -1px;
  overflow: hidden;
  position: absolute;
  width: 150px;
}
#drupalchat #chatpanel .subpanel {
  width: 160px;
}
#drupalchat .chatbox .subpanel {
  width: 200px;
}

/* Subpanel title */
#drupalchat .subpanel_title {
  background: #333333;
  border-bottom: 1px solid #333333;
  color: #fff;
  cursor: pointer;  
  font-weight: normal;
  padding: 3px 4px 3px 8px;
}
#drupalchat .subpanel_title span {
  filter: alpha(opacity=50); /* For IE */
  opacity: 0.5;
  -moz-opacity: 0.5;
  font-size: 12px;
	font-weight: bold;
  float: right;
  line-height: 0.6em;
  padding: 5px 4px 0 4px;
}
#drupalchat .subpanel_title span.min {
	padding: 2px 4px 0 4px;
}
#drupalchat .subpanel_title:hover span.min {
  filter: alpha(opacity=100); /* For IE */
  opacity: 1.0;
  -moz-opacity: 1.0;
}
#drupalchat .subpanel_title span:hover {
  filter: alpha(opacity=100); /* For IE */
  opacity: 1.0;
  -moz-opacity: 1.0;
}

#drupalchat .subpanel ul { 
  background: #4C4C4C;
  border: none;
  margin: 0;
  overflow: auto;
  width: 100%;
}
#drupalchat .subpanel li {
  background: #4C4C4C;
  border-top: 1px solid #595959;;
  border-bottom: 1px solid #333333;	
  clear: both;
  display: block;
  float: none; /*--Reset float--*/
  margin: 0;
  overflow: hidden;
  padding: 0; 
  position: static;  /*--Reset relative positioning--*/  
}
#drupalchat .subpanel li.last {
  border-bottom: none;
}
#drupalchat .subpanel li:hover {
  background: #4498C7;
  border-top: 1px solid #5DB1E0;
}
#drupalchat .subpanel li a span {
  float: left;
  margin: 0 8px;
  padding-left: 20px;
}
#drupalchat .subpanel li a {
	border: none;
  display: block;
  height: 22px;
  line-height: 22px;
  margin: 0;
  padding: 3px 0 3px 8px; 
}
#drupalchat .subpanel li a:hover {
	background: transparent;
	text-decoration: none;
}
#drupalchat .subpanel li.status-1 a {
	background: url(images/online.png) no-repeat 95% center;
}
#drupalchat .subpanel li.status-2 a {
  background: url(images/idle.png) no-repeat 95% center;
}
#drupalchat .subpanel li.link a {
  padding-left: 8px;
}

#drupalchat ul li a.chatboxhead {
  padding: 6px 18px 6px 8px;  
}

/* Chat options */
#drupalchat .subpanel .chat_options {
	background: #D8D8D8;
	border-bottom: 1px solid #1d1d1d;
	border-top: 1px solid #1d1d1d;
	overflow: hidden;
	position: relative;
}
#drupalchat .subpanel .chat_options a {
	border-left: none;
	border-right: 1px solid #999;
	color: #333;
	float: left;
	padding: 3px 8px 3px 19px;
}
#drupalchat .subpanel .chat_options a.status-1 {
  background: url(images/online_black.png) no-repeat 6px center;
} 
#drupalchat .subpanel .chat_options a.status-2 {
  background: url(images/idle_black.png) no-repeat 6px 49%;
} 
#drupalchat .subpanel .chat_options a.chat_loading {
	background: url(images/loading.gif) no-repeat 4px center;
}
#drupalchat .subpanel .chat_options a.options {
	background: url(images/options.png) no-repeat 6px center;
}

/* Chatbox */ 
.chatbox {
  display: none;
  position: absoloute;
  z-index: 9999;
}
.chatboxblink {
  background-color: #4498C7;
}
.chatboxcontent {
  background-color: #4C4C4C;
  border-right: 1px solid #595959;
  border-bottom: 1px solid #333333;
  color: #fff;
  height: 200px;
  overflow-y: auto;
  overflow-x: auto;
  padding: 7px;
}
.chatboxinput {
  background-color: #4C4C4C;
  border-top: 1px solid #595959;
  padding: 5px;
}
.chatboxtextarea {
  border: 1px solid #333333;
  height: 44px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  resize: none;
  width: 188px;
}
.chatboxtextareaselected {
  border: 2px solid #5DB1E0;
  width: 186px;
}
.chatboxusername {
	font-size: 11px;
  margin-top: 2px;
}
.chatboxusername a {
	border: none !important;
	font-weight: bold;
}
.chatboxtime {
  color: #999;
  float: right;
  font-size: 9px;
  font-weight: normal;
}
.chatboxcontent p {
	clear: both;
  font-size: 11px;
  line-height: 14px;
  margin: 0 4px;
  text-align: left;
}